package com.ruoyi.system.wnjk.domain.po;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 医生信息对象 wnjk_doctor
 *
 * @author ruoyi
 * @date 2025-03-06
 */
public class WnjkDoctor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 医生ID */
    private Long id;

    /** 医生姓名 */
    @Excel(name = "医生姓名")
    private String name;

    /** 医生头像URL */
    @Excel(name = "医生头像URL")
    private String avatar;

    /** 医生职称 */
    @Excel(name = "医生职称")
    private String title;

    /** 所属医院ID（逻辑外键，对应 wnjk_hospital.id） */
    @Excel(name = "所属医院ID", readConverterExp = "逻=辑外键，对应,w=njk_hospital.id")
    private Long hospitalId;

    /** 所属科室ID（逻辑外键，对应 wnjk_department.id） */
    @Excel(name = "所属科室ID", readConverterExp = "逻=辑外键，对应,w=njk_department.id")
    private Long departmentId;

    /** 是否上线（0:下线，1:上线） */
    @Excel(name = "是否上线", readConverterExp = "0=:下线，1:上线")
    private Integer available;

    /** 挂号费用（元） */
    @Excel(name = "挂号费用", readConverterExp = "元=")
    private BigDecimal registrationFee;

    /** 图文问诊费用（元/次） */
    @Excel(name = "图文问诊费用", readConverterExp = "元=/次")
    private BigDecimal consultationFeeText;

    /** 电话问诊费用（元/15分钟） */
    @Excel(name = "电话问诊费用", readConverterExp = "元=/15分钟")
    private BigDecimal consultationFeeCall;

    /** 擅长领域 */
    @Excel(name = "擅长领域")
    private String expertise;

    /** 医生简介 */
    @Excel(name = "医生简介")
    private String introduction;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setAvatar(String avatar)
    {
        this.avatar = avatar;
    }

    public String getAvatar()
    {
        return avatar;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setHospitalId(Long hospitalId)
    {
        this.hospitalId = hospitalId;
    }

    public Long getHospitalId()
    {
        return hospitalId;
    }
    public void setDepartmentId(Long departmentId)
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId()
    {
        return departmentId;
    }
    public void setAvailable(Integer available)
    {
        this.available = available;
    }

    public Integer getAvailable()
    {
        return available;
    }
    public void setRegistrationFee(BigDecimal registrationFee)
    {
        this.registrationFee = registrationFee;
    }

    public BigDecimal getRegistrationFee()
    {
        return registrationFee;
    }
    public void setConsultationFeeText(BigDecimal consultationFeeText)
    {
        this.consultationFeeText = consultationFeeText;
    }

    public BigDecimal getConsultationFeeText()
    {
        return consultationFeeText;
    }
    public void setConsultationFeeCall(BigDecimal consultationFeeCall)
    {
        this.consultationFeeCall = consultationFeeCall;
    }

    public BigDecimal getConsultationFeeCall()
    {
        return consultationFeeCall;
    }
    public void setExpertise(String expertise)
    {
        this.expertise = expertise;
    }

    public String getExpertise()
    {
        return expertise;
    }
    public void setIntroduction(String introduction)
    {
        this.introduction = introduction;
    }

    public String getIntroduction()
    {
        return introduction;
    }
    public void setCreatedAt(Date createdAt)
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt()
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt)
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt()
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("avatar", getAvatar())
            .append("title", getTitle())
            .append("hospitalId", getHospitalId())
            .append("departmentId", getDepartmentId())
            .append("available", getAvailable())
            .append("registrationFee", getRegistrationFee())
            .append("consultationFeeText", getConsultationFeeText())
            .append("consultationFeeCall", getConsultationFeeCall())
            .append("expertise", getExpertise())
            .append("introduction", getIntroduction())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
